﻿using Abp.Domain.Entities;
using System;
using System.Collections.Generic;
using System.Text;

namespace FwProject.Distribution.Dto
{
    public class ModifyReceiptDto
    {
        public string deleteIds { get; set; }

        public DateTime? beginTime { get; set; }

        public DateTime? endTime { get; set; }

        public List<MakingReceiptEnterDto> MakingReceipts { get; set; }
    }

    public class MakingReceiptEnterDto
    {
        /// <summary>
        /// 收据Id
        /// </summary>
        public Guid ReceiptId { get; set; }

        /// <summary>
        /// 餐厅Id
        /// </summary>
        public Guid? Restaurantid { get; set; }

        /// <summary>
        /// 优惠金额
        /// </summary>
        public decimal DiscountedPrice { get; set; }

        public decimal Sum { get; set; }

        /// <summary>
        /// 收据备注
        /// </summary>
        public string Remarks { get; set; }

       public List<DistrationTypeNumberDto> TypeNumber { get; set; }

    }

    public class DistrationTypeNumberDto
    {
    
        public Guid TypeNumberId { get; set; }

        public decimal TypeNumberPrice { get; set; }

        public decimal TypeNumberoldPrice { get; set; }
    }
    public class SeltmentTypeNumberDto 
    {
        public List<Guid> DisId { get; set; }
        public List<DistrationTypeNumberDto> TypeNumber { get; set; }
    }
}
